package com.ggkt.classload;

import sun.net.spi.nameservice.dns.DNSNameService;

/**
 * @author guiguketang
 * @date 2020/12/27 14:17
 */
public class JDKClassLoader {
    public static void main(String[] args) {
        System.out.println(String.class.getClassLoader());
        System.out.println(JDKClassLoader.class.getClassLoader());
        System.out.println(DNSNameService.class.getClassLoader());
        System.out.println(ClassLoader.getSystemClassLoader());

        System.out.println(System.getProperty("java.ext.dirs"));
    }
}
